LocationT

An interface common to objects having latitude and longitude

By implementing #ShumateLocation the object declares that it has latitude and longitude and can be used to specify location on the map.

Members

Functions

getLatitude
double getLatitude()

Gets the latitude coordinate in degrees.

getLocationStruct
ShumateLocation* getLocationStruct(bool transferOwnership)

Get the main Gtk struct

getLongitude
double getLongitude()

Gets the longitude coordinate in degrees.

setLocation
void setLocation(double latitude, double longitude)

Sets the coordinates of the location

Meta